package org.example.service.product;

import com.bianmaba.spring.web.service.BaseService;
import org.example.bean.entity.product.Product;
import org.example.repository.product.ProductRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @see IProductService
 */
@Service
public class ProductService extends BaseService<Product, String> implements IProductService {
    private static final Logger LOG = LoggerFactory.getLogger(ProductService.class);
    @Autowired
    private ProductRepository repository;


    @Override
    public ProductRepository getRepository() {
        return repository;
    }

}
